Skip to content

Instantly share code, notes, and snippets.

@handsomematt
handsomematt / dstt.md
Last active August 15, 2026 05:19
dstt notes

Cart Command

int CartCommand(char cmd, int data1, int data2)
{
  CARDCMD_0 = cmd;
  CARDCMD_1 = BYTE3(data1);
  CARDCMD_2 = (unsigned int)(data1 << 8) >> 24;
  CARDCMD_3 = (unsigned int)(data1 << 16) >> 24;
  CARDCMD_4 = data1;
var res = sc.ipcMsg(600).datau64(0x40000000, 0x40000).sendTo('fatal:u').assertOk();
var addr = [res.data[0], res.data[1]];
var sz = [res.data[2], res.data[3]];
utils.log('IRAM at: '+utils.paddr(addr)+', size: '+utils.paddr(sz));
sc.iramAddr = addr;
iramWrite4 = function(val, ofs) {
sc.ipcMsg(503).datau64(val, utils.add2(sc.iramAddr, ofs)).sendTo('fatal:u').assertOk();
}
@TuxSH
TuxSH / luma_sd_hb_update.py
Last active August 15, 2026 05:17
Luma3DS SD card prep/update script (.3dsx instead of .cia, can act as updater, doesn't download exploits)
import os
import requests
import zipfile
import io
import sys
# Global variable containing repositories and settings for download
REPOSITORIES = [
{
"repo": "LumaTeam/Luma3DS",
@JonyBepary
JonyBepary / pcb_design_playlist.md
Created July 21, 2025 18:26
Hardware Design :: Phil's Lab PCB Design Tutorials - Beginner to Advanced Learning Path

Phil's Lab PCB Design Tutorials - Beginner to Advanced Learning Path

BEGINNER LEVEL

Start here if you're new to PCB design and electronics

Fundamental Concepts

  • How To Read A Datasheet - Phil's Lab #123
    πŸ”— Watch Video
  • How To Learn PCB Design (My Thoughts, Journey, and Resources) - Phil's Lab #87
    πŸ”— Watch Video
@marekr
marekr / bq20z80.py
Created August 9, 2014 03:39
IDA processor module. Creator: Charlie Miller
----------------------------------------------------------------------
# Processor module template script
# (c) Hex-Rays
import sys
import idaapi
from idaapi import *
# define RAM starting at 18000h of size 100h
# define ROM starting at 0 of size 12100h
@ayoubzulfiqar
ayoubzulfiqar / playwright.md
Created May 6, 2025 17:22
Video Detection & Download Strategies using Playwright (Python)

Video Detection & Download Strategies using Playwright (Python)

To detect and download videos from a webpage's network traffic, we can intercept network requests in Playwright, identify video streams/files, and handle them appropriately. Below are different strategies to achieve this.


1. Intercepting Network Requests (Recommended)

Monitor network activity for video-related MIME types or file extensions.

@natyusha
natyusha / Naty's FFXIV Dawntrail Add-ons, Plugins and Mods.md
Last active August 15, 2026 05:05
All the third party add-ons, plugins and mods I use for FFXIV.

Last Updated: Patch 7.41

The program which most people use for parsing in FFXIV and several other MMOs. For an open source alternative consider using IINACT though configuring it won't be covered here.

Options

  • Main Table Encounters
    • General
      • Uncheck: Number of seconds to wait after the last combat action to begin a new encounter.
      • Uncheck: Number of seconds to wait after the last combat action to pause the encounter duration.

Plugins

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@iannuttall
iannuttall / agentos-blueprint.md
Created August 14, 2026 12:10
AgentOS blueprint β€” reconstructed from Danny Postma's Agent SDK talk so an agent can build the system

AgentOS β€” Product Spec & Implementation Blueprint

Reconstructed from Danny Postma's talk How I Built My Own AgentOS on Claude's Agent SDK (So You Can Too) (2026). This document is both a product spec for a human and an implementation prompt for an AI coding agent. Build exactly this system. Do not invent features that are not specified here.

Role contracts and prompts in this file are reconstructed from the talk, not his verbatim files. Mark every reconstructed prompt in code comments and docs as such.


1. Goal and non-goals

@ddsyqlm
ddsyqlm / smartdnsproxy.md
Created March 23, 2026 06:59
Smart DNS Proxy Review: Unblock 400+ Streaming Channels, Starting at $2.85/mo β€” Lifetime Plan Available

Smart DNS Proxy Review: Unblock 400+ Streaming Channels, Starting at $2.85/mo β€” Lifetime Plan Available

You know that moment when you're traveling abroad, finally have a night to yourself, and try to watch something on Netflix β€” only to get the regional block screen staring back at you? Yeah. That's the exact problem Smart DNS Proxy was built to solve. Quietly, efficiently, without making a big deal out of itself.

Smart DNS Proxy has been around since 2013, developed by Global Stealth Inc. β€” a company that's been in the internet privacy and security business since 1995. That's not a startup in someone's garage. That's a company with three decades of experience that Microsoft and IBM have reportedly trusted to secure their networks. They just happen to also make a tool that lets you watch Hulu from London.

πŸ‘‰ Start Your 14-Day Free Trial β€” No Credit Card Needed